cr-mdw-ux

(0 reviews)

OTT - Get Entitlement Report

/{businessId}/product

[GET]

This usecase is to retrieve entitlement report for multiple OTTs in Bango or ToolBox systems

URL
https://nonprod.lcr.esb.cloud.lla.com/test/cr-mdw-ux-lcr/cr-mdw-ux/v1/{businessId}/product
URI Params
nametypedescriptionrequired
businessIdstringDefault CR for Costa RicaY
Headers
nametypedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server.
Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.
Y
QueryParams
NameTypeDescriptionRequired
billingAccount.idstringBilling account number.Y
@typestringType of the entity. Default: OTT.Y
productSpecification.namestringName of the OTT (Example: UNIVERSAL, DISNEY, AMAZON, HBO).Y
cURL request - HBO Max Standalone
curl "https://nonprod.lcr.esb.cloud.lla.com/test/cr-mdw-ux-lcr/cr-mdw-ux/v1/CR/product?billingAccount.id=1234567&@type=OTT&productSpecification.name=HBO
--header 'X-Correlation-ID: {{$guid}}' \
--header 'client_id: XXXXX' \
--header 'client_secret: XXXXX' \
Response - HBO Max Standalone
[
  {
    "id": "67da849281bfd60f498b5e4c",
    "status": "created",
    "orderDate": "2025-03-19T08:48:59.937Z",
    "startDate": "2025-03-19T08:58:56.880Z",
    "productCharacteristic": [
      {
        "name": "activationCode",
        "value": ""
      }
    ],
    "billingAccount": {
      "id": "4407123456789"
    },
    "productSpecification": {
      "id": "HboMax",
      "name": "HBO"
    },
    "@baseType": "Product",
    "@type": "OTT"
  }
]
cURL request - Amazon Standalone
curl "https://nonprod.lcr.esb.cloud.lla.com/test/cr-mdw-ux-lcr/cr-mdw-ux/v1/CR/product?billingAccount.id=1234567&@type=OTT&productSpecification.name=AMAZON
--header 'X-Correlation-ID: {{$guid}}' \
--header 'client_id: XXXXX' \
--header 'client_secret: XXXXX' \
Response - Amazon Standalone
[
  {
    "id": "67da849281bfd60f498b5e4c",
    "status": "created",
    "orderDate": "2025-03-19T08:48:59.937Z",
    "startDate": "2025-03-19T08:58:56.880Z",
    "productCharacteristic": [
      {
        "name": "activationCode",
        "value": ""
      }
    ],
    "billingAccount": {
      "id": "4407123456789"
    },
    "productSpecification": {
      "id": "amazonPrime",
      "name": "AMAZON"
    },
    "@baseType": "Product",
    "@type": "OTT"
  }
]
cURL request - Universal Standalone
curl "https://nonprod.lcr.esb.cloud.lla.com/test/cr-mdw-ux-lcr/cr-mdw-ux/v1/CR/product?billingAccount.id=1234567&@type=OTT&productSpecification.name=UNIVERSAL
--header 'X-Correlation-ID: {{$guid}}' \
--header 'client_id: XXXXX' \
--header 'client_secret: XXXXX' \
Response - Universal Standalone
[
  {
    "id": "67da849281bfd60f498b5e4c",
    "status": "created",
    "orderDate": "2025-03-19T08:48:59.937Z",
    "startDate": "2025-03-19T08:58:56.880Z",
    "billingAccount": {
      "id": "4407123456789",
      "@type": "BillingAccount"
    },
    "productSpecification": {
      "id": "universalPlus",
      "name": "UNIVERSAL"
    },
    "@baseType": "Product",
    "@type": "OTT"
  }
]
cURL request - Disney Standalone
curl "https://nonprod.lcr.esb.cloud.lla.com/test/cr-mdw-ux-lcr/cr-mdw-ux/v1/CR/product?billingAccount.id=1234567&@type=OTT&productSpecification.name=DISNEY
--header 'X-Correlation-ID: {{$guid}}' \
--header 'client_id: XXXXX' \
--header 'client_secret: XXXXX' \
Response - Disney Standalone
[
{
        "id": "c45da4fa-6ea5-4fa8-b3cb-e458f59c86f7",
        "status": "pendingActive",
        "orderDate": "2025-09-08T09:16:56Z",
        "startDate": "0001-01-01T00:00:00Z",
        "terminationDate": "0001-01-01T00:00:00Z",
        "productCharacteristic": [
            {
                "name": "activationCode",
                "value": ""
            }
        ],
        "billingAccount": {
            "id": "833560"
        },
        "productSpecification": {
            "id": "1-2FFTT6Z",
            "name": ""
        },
        "@baseType": "Product",
        "@type": "OTT",
        "@referredType": "DISNEY"
    }
]

Reviews